home *** CD-ROM | disk | FTP | other *** search
/ Micromanía: 100 Demos - Disc 2 / Micromania 100 Demos - Disco 2.iso / Neocron / Neocron_offline_demo_eng.exe / SCRIPTS.PAK / lua_demo_techniker.lua < prev    next >
Encoding:
Text File  |  2002-05-23  |  2.1 KB  |  64 lines

  1. function DIALOG()
  2.  
  3.     NODE(0)
  4.         GETGLOBALTRIGGER("talked_tech")
  5.         if result == 0 then
  6.         
  7.             -- 015
  8.             SAYSPEECH("Who are you? What do you want here? The maintenance area is for personnel only. Get outta' here!",3015)
  9.             -- 016
  10.             ANSWERSPEECH("If only I could... But I am not able to open the exit to the Plaza Station.",1,3016)
  11.             -- 019
  12.             ANSWERSPEECH("Oh - SORRY!, I didn't want to disturb you...",1,3019)        
  13.  
  14.             -- 017
  15.             ANSWERSPEECH("My name is Parker. I am an agent of the CityAdmin. As you very well know, the exit to Plaza station is code-locked. Please help me and unlock it.",10,3017)
  16.             -- 018
  17.             ANSWERSPEECH("Neocron CityAdmin! If you do not open the exit to Plaza Station immediately, you will be in violation of NCA-ordinance 17-33-C, hindrance of an NCA-agent in duty, and I will authorized to execute you here and now. I will give you 30 seconds to unlock this door.",20,3018)
  18.         else
  19.         
  20.             -- 020
  21.             SAYSPEECH("I don't care! Just leave me alone!",3020)
  22.             ENDDIALOG()
  23.  
  24.         end
  25.  
  26.     NODE(1)
  27.         -- 020
  28.         SAYSPEECH("I don't care! Just leave me alone!",3020)
  29.         -- 023
  30.         ANSWERSPEECH("Hey, don't get smart with me...",20,3023)    
  31.  
  32.  
  33.     NODE(10)
  34.         -- 021
  35.         SAYSPEECH("You guys have no authority down here. Without a hack tool you will never be able to picklock the door... I would give you mine in exchange for your shiny rocket launcher. Interested?",3021)
  36.         -- 026
  37.         ANSWERSPEECH("Hmm... okay, I'll take it." ,11,3026)
  38.         -- 027
  39.         ANSWERSPEECH("What does a HoverCab technician need a rocket launcher for?" ,20,3027)        
  40.  
  41.     NODE(11)
  42.         TAKEITEM("5")
  43.         if result == 1 then
  44.             SETGLOBALTRIGGER("talked_tech", 1)
  45.             GIVEITEM("85")
  46.             -- 028
  47.             SAYSPEECH("Here you are, my hack tool. It is always a pleasure to do business with the CityAdmin.",3028)
  48.             ENDDIALOG()        
  49.         else
  50.             -- 020
  51.             SAYSPEECH("I don't care! Just leave me alone!",3020)
  52.             ENDDIALOG()        
  53.         end
  54.  
  55.     NODE(20)
  56.         -- 022
  57.         SAYSPEECH("You CityAdmin scum will never understand... It's only after we've killed the last one of you that peace and order may return to the streets of Neocron. Long live the Twilight Guardian!!!",3022)
  58.         ATTACK()
  59.         ENDDIALOG()
  60.  
  61. end
  62.  
  63.  
  64.